<template>
  <div>
    <div :class="$style.highlight">高亮颜色cssmodule_highlight_1P2N6</div>
    {{ $style.highlight }}
    <p class="css2">普通样式css2</p>
    {{ $style }}
  </div>
</template>

<script>
export default {
  data() {
    return {
      msg: "wwww",
    };
  },
  created() {
    console.log(this.$style);
  },
};
</script>

<style module>
.highlight {
  font-size: 20px;
  color: red;
  background-color: antiquewhite;
  margin: 10px;
  padding: 3px;
}
.css2 {
  color: aqua;
}
</style>